﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <nav>
        <ul id="menu">
            <li>
                @Html.RouteLink("Home", new { controller = "Home", action = "Index" },
                new { @class =  ViewBag.SelectedPage == "Home/Index" ? "selected" : null })
            </li>
            <li>
                @Html.RouteLink("Events", new { controller = "Events", action = "Index" },
                    new { @class =  ViewBag.SelectedPage == "Events/Index" ? "selected" : null })
            </li>
        </ul>
    </nav>
    @RenderBody()

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    @RenderSection("scripts", required: false)
</body>
</html>
